package com.ball.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/** 主页
 * Created by tengj on 2017/4/10.
 */


@Controller
public class IndexController  extends  AbstractController{

//    @RequestMapping("/game")
//    public String game(Model model){
//        model.addAttribute("baseURL", getContextPath());
//        return "game";
//    }

    @RequestMapping("/first")
    public String first(){
        return "first";
    }
//
    @RequestMapping("/index")
    public String index(){
        return "index";
    }

    @RequestMapping("")
    public String index1(){
        return "index";
    }

}
